class Messages < ActiveRecord::Migration
  def self.up
	  
	create_table :messages do|t|
	
		t.column :author_id, :integer
		t.column :destinator_id, :integer
		t.column :content,:text
		t.column :delete, :string, :limit => 3, :default => 'NO', :null => false	
		t.column :create_on, :datetime
		t.column :modified, :integer

	end  
  end

  def self.down
  end
end
